//
//  KeMu2TableViewCell.swift
//  DriverSchoolAPP
//
//  Created by Logel on 2017/5/25.
//  Copyright © 2017年 Logel. All rights reserved.
//

import UIKit

class KeMu2TableViewCell: UITableViewCell {
    @IBOutlet weak var imgV: UIImageView!
    @IBOutlet weak var nameLbl: UILabel!
    @IBOutlet weak var timeLbl: UILabel!

   
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
            }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    var selectNum:Int!{
        didSet{
            switch selectNum {
            case 0:
                imgV.image = UIImage(named: "dk-149")
                nameLbl.text = "倒车入库"
                timeLbl.text = "04:30"
            case 1:
                imgV.image = UIImage(named: "cf-149")
                nameLbl.text = "侧方位停车"
                timeLbl.text = "04:30"
            case 2:
                imgV.image = UIImage(named: "zj-149")
                nameLbl.text = "直角转弯"
                timeLbl.text = "04:30"
            case 3:
                imgV.image = UIImage(named: "qx-149")
                nameLbl.text = "曲线行驶"
                timeLbl.text = "04:30"
            default:
                break
            }

        }
    }
    
}
